#FROM java:8
#EXPOSE 8080
#
#VOLUME /tmp
#ADD target/*.jar  /app.jar
#RUN bash -c 'touch /app.jar'
#ENTRYPOINT ["java","-jar","-Xms128m","-Xmx800m","/app.jar","--spring.profiles.active=test"]

FROM java:8
ADD ./target/zxw-apidoc-server-0.0.1-SNAPSHOT.jar /zxw-apidoc-server.jar
ENTRYPOINT ["java", "-Dspring.profiles.active=test", "-Dproject.name=zxw-apidoc-server", "-jar", "/zxw-apidoc-server.jar"]
